<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Experimental/Independent Film Community</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="description" content="An Independent Film Community" />
<meta name="copyright" content="Cmpe451-ProjectGroup#8" />
<link href="./jsp/user/style/expind-std.css" rel="stylesheet" type="text/css" />
<link href="./jsp/user/style/expind.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container_24"> 
  
<jsp:include page="header.jsp" />

<div id="content" style="float:left;">
<form action="movie" method="post" name="movie">
		<c:choose>
    			<c:when test="${ empty error }">

    			</c:when>
    			<c:otherwise>
    			  <c:out value="${error}"></c:out>
    			</c:otherwise>
    		</c:choose>
	<table>
		<tr>
			<td>
				Name of the Movie
			</td>
			<td>
				<input type="text" name="name" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td>
				Genre
			</td>
			<td>
				<input type="text" name="genre" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td>
				Year
			</td>
			<td>
				<input type="text" name="year" style="margin:5px 20px"/>
			</td>
		</tr>	
		<tr>
			<td>
				Runtime (in Minutes)
			</td>
			<td>
				<input type="text" name="runTime" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td colspan="8">
				Summary
				<br/>
				<textarea rows="4" cols="50" name="summary"  ></textarea>
			</td>
		</tr>
		<tr>
			<td>
				Image
			</td>
			<td>
				<input type="file" name="poster" size="40" style="margin:5px 20px"/> &nbsp;or&nbsp; <input type="text" name="poster" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td>
				Link To Movie
			</td>
			<td>
				<input type="text" name="link" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td>
				Rating
			</td>
			<td>
				<input type="text" name="rating" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td>
				Popularity
			</td>
			<td>
				<input type="text" name="popularity" style="margin:5px 20px"/>
			</td>
		</tr>
		<tr>
			<td colspan="8">
				<input type="submit" value="Submit" />
			</td>
		</tr>			
	</table>
</form>
</div>

</div>
<!-- wrapper BİTİŞ -->
</body>
</html>
